home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / lu62 / port / strdrtrn.h < prev    next >
C/C++ Source or Header  |  1996-07-10  |  2KB  |  105 lines

  1. #define MAXPOOL 15
  2.  
  3. struct parm_open{
  4.     char adapter;
  5.     char node_address[6];
  6.     short num_rcv_buffers;
  7.     short rcv_buffer_len;
  8.     short dhb_buffer_len;
  9.     char data_hold_buf;
  10.     void * prod_id_addr;
  11.     short dir_buf_size;
  12.     short dir_pool_blocks;
  13.     void *dir_pool_address;
  14.     char dlc_max_sta;
  15.     void *received_data;
  16.     void *open_data;
  17.     char maxout;
  18.     char maxin;
  19.     char station_count;
  20.     short dlc_buf_size;
  21.     short dlc_pool_len;
  22.     void *dlc_pool_addr;
  23.     };
  24.  
  25. struct parm_close{
  26.     short station_id[255];
  27.     void *close_data;
  28.     };
  29.  
  30. struct parm_write{
  31.     char command;
  32.     short station_id;
  33.     void *xmit_queue_one;
  34.     void *xmit_queue_two;
  35.     short buffer_len_one;
  36.     short buffer_len_two;
  37.     void *buffer_one;
  38.     void *buffer_two;
  39.     void *write_data;
  40.     };
  41.  
  42. struct parm_read{
  43.     short station_id;
  44.     char option;
  45.     void *received_data;
  46.     void *read_data;
  47.     };
  48.  
  49. struct parm_open_station{
  50.     short sap_station_id;
  51.     char maxout;
  52.     char maxin;
  53.     char rsap_value;
  54.     char access_priority;
  55.     short *dest_addr;
  56.     void *open_st_data;
  57.     short station_id;
  58.     char option;
  59.     void *received_data;
  60.     };
  61.  
  62. struct parm_connect{
  63.     short station;
  64.     short *route ;
  65.     void *connect_data;
  66.     };
  67.  
  68. struct parm_close_station{
  69.     short station_id;
  70.     void *close_station_data;
  71.     };
  72.  
  73. struct parm_get{
  74.     short station_id;
  75.     char buffer_get;
  76.     void *get_data;
  77.     };
  78.  
  79. struct parm_free{
  80.     short station_id;
  81.     void *buffer_one;
  82.     void *free_data;
  83.     };
  84.  
  85. char ccb_pool[MAXPOOL][48]={'\0'};
  86.  
  87.  
  88. /*struct ccb_buf {
  89.     struct ccb_buf *addr_ccb_buf;
  90.     char dup[48];
  91.     };
  92.  
  93. struct ccb_buf ccb_buf1,ccb_buf2,ccb_buf3,ccb_buf4,
  94.            ccb_buf5,ccb_buf6,ccb_buf7,ccb_buf8,
  95.            ccb_buf9,ccb_buf10,ccb_buf11,ccb_buf12,
  96.            ccb_buf13,ccb_buf14,ccb_buf15,ccb_buf16;
  97.  
  98. struct ccb_pool {
  99.     struct ccb_buf *addr_ccb_buf;
  100.     ccb_buf1; ccb_buf2; ccb_buf3; ccb_buf4;
  101.     ccb_buf5; ccb_buf6; ccb_buf7; ccb_buf8;
  102.     ccb_buf9; ccb_buf10; ccb_buf11; ccb_buf12;
  103.     ccb_buf13; ccb_buf14; ccb_buf15; ccb_buf16;
  104.     };*/
  105.